import request from '@/api/request'

export function getNewsList(kv) {
    return request({
      url: '/admin/xy/news/list',
      method: 'get',
      kv
    })
  }

  export function dele(kv) {
    return request({
      url: '/admin/xy/news/del',
      method: 'get',
      kv
    })
  }
  

  export function detail(kv) {
    return request({
      url: '/admin/xy/news/detail',
      method: 'get',
      kv
    })
  }
  
  export function update(kv) {
    return request({
      url: '/admin/xy/news/update',
      method: 'post',
      kv
    })
  }
  export function save(kv) {
    return request({
      url: '/admin/xy/news/save',
      method: 'post',
      kv
    })
  }